import java.util.Arrays;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 17655
 * Date: 2025-05-17
 * Time: 22:54
 */
public class test3 {
//    判断三个字母是否相邻
    public static void main(String[] args) {
        char c1 = 'a';
        char c2 = 'b';
        char c3 = 'e';

        if(check(c1,c2,c3)){
            System.out.println("嗯嗯");
        }else {
            System.out.println("nono");
        }
    }

    private static boolean check(char c1, char c2, char c3) {
        char[] ch = {c1,c2,c3};
        Arrays.sort(ch);
        return (ch[1] == ch[0]+1) && (ch[2]==ch[1]+1);
    }
}
